package com.jiezheng.huinong.model;

import java.io.Serializable;

import com.jiezheng.huinong.util.CommonUtils;

public class IndexInfo implements Serializable {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -6274044772256722273L;

	private String indexNo = "";
	private String budgetUnit = "";
	private String budgetUnitNo = "";
	private String indexSource = "";
	private String indexType = "";
	private String fundProp = "";
	private String payMethod = "";
	private String funcType = "";
	private String financialType = "";
	private String budgetItem = "";
	private String budgetItemNo = "";
	private String settleMethod = "";
	private String budgetType = "";
	private String money = "";
	private String spareMoney = "";
	private String purpose = "";
	
	private String createTime = "";
	private String operator = "";
	private Integer status = 0;
	private String deptNo = "";
	
	private String paperDate = "";
	private String PaperTitle = "";

	public IndexInfo() {
		
	}
	
	public IndexInfo(IndexInfo idx) {
		super();
		this.indexNo = idx.getIndexNo();
		this.budgetUnit = idx.getBudgetUnit();
		this.budgetUnitNo = idx.getBudgetUnitNo();
		this.indexSource = idx.getIndexSource();
		this.indexType = idx.getIndexType();
		this.fundProp = idx.getFundProp();
		this.payMethod = idx.getPayMethod();
		this.funcType = idx.getFuncType();
		this.financialType = idx.getFinancialType();
		this.budgetItem = idx.getBudgetItem();
		this.budgetItemNo = idx.getBudgetItemNo();
		this.settleMethod = idx.getSettleMethod();
		this.budgetType = idx.getBudgetType();
		this.money = idx.getMoney();
		this.spareMoney = idx.getSpareMoney();
		this.purpose = idx.getPurpose();
		
		this.createTime = idx.getCreateTime();
		this.operator = idx.getOperator();
		this.status =idx.getStatus();
		this.deptNo = idx.getDeptNo();
		
		this.paperDate = idx.getPaperDate();
		this.PaperTitle =idx.getPaperTitle();
	}

	public String getIndexNo() {
		return indexNo;
	}

	public void setIndexNo(String indexNo) {
		this.indexNo = indexNo;
	}

	public String getIndexSource() {
		return indexSource;
	}

	public void setIndexSource(String indexSource) {
		this.indexSource = indexSource;
	}

	public String getIndexType() {
		return indexType;
	}

	public void setIndexType(String indexType) {
		this.indexType = indexType;
	}

	public String getFundProp() {
		return fundProp;
	}

	public void setFundProp(String fundProp) {
		this.fundProp = fundProp;
	}

	public String getPayMethod() {
		return payMethod;
	}

	public void setPayMethod(String payMethod) {
		this.payMethod = payMethod;
	}

	public String getBudgetItem() {
		return budgetItem;
	}

	public void setBudgetItem(String budgetItem) {
		this.budgetItem = budgetItem;
	}

	public String getPurpose() {
		return purpose;
	}

	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}

	public String getBudgetUnit() {
		return budgetUnit;
	}

	public void setBudgetUnit(String budgetUnit) {
		this.budgetUnit = budgetUnit;
	}

	public String getFuncType() {
		return funcType;
	}

	public void setFuncType(String funcType) {
		this.funcType = funcType;
	}

	public String getFinancialType() {
		return financialType;
	}

	public void setFinancialType(String financialType) {
		this.financialType = financialType;
	}

	public String getSettleMethod() {
		return settleMethod;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getPaperDate() {
		return paperDate;
	}

	public void setPaperDate(String paperDate) {
		this.paperDate = paperDate;
	}

	public String getPaperTitle() {
		return PaperTitle;
	}

	public void setPaperTitle(String paperTitle) {
		PaperTitle = paperTitle;
	}

	public void setSettleMethod(String settleMethod) {
		this.settleMethod = settleMethod;
	}

	public String getBudgetType() {
		return budgetType;
	}

	public void setBudgetType(String budgetType) {
		this.budgetType = budgetType;
	}

	public String getBudgetUnitNo() {
		return budgetUnitNo;
	}

	public void setBudgetUnitNo(String budgetUnitNo) {
		this.budgetUnitNo = budgetUnitNo;
	}

	public String getBudgetItemNo() {
		return budgetItemNo;
	}

	public void setBudgetItemNo(String budgetItemNo) {
		this.budgetItemNo = budgetItemNo;
	}

	public String getDeptNo() {
		return deptNo;
	}

	public void setDeptNo(String deptNo) {
		this.deptNo = deptNo;
	}

	public String getMoney() {
		return CommonUtils.convertMoneyString(money);
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getSpareMoney() {
		return CommonUtils.convertMoneyString(spareMoney);
	}

	public void setSpareMoney(String spareMoney) {
		this.spareMoney = spareMoney;
	}

}
